
	//Home
	$.fx.speeds._default = 1000;
	$(function() {
		$( "#dialoghome" ).dialog({			
			autoOpen: false,			
			modal: true,
			resizable: false,
			height: 400,
			width: 700,
			position: [350,210],
			draggable: false,
			show: "blind",
			hide: " "			
		});	
		$( "#openhome" ).click(function() {
			$( "#dialoghome" ).dialog( "open" );			
			return false;
		});			
			
		//Links
		$( "#dialoglinks" ).dialog({
			autoOpen: false,
			dialogClass: 'dialogActivated',
			position: [9999,9999],
			height: 500,
			width: 300,
			show: "fade",
			hide: "fade"
		});		
		$( "#openlinks" ).click(function() {
			$( "#dialoglinks" ).dialog( "open" );
			if ($( "#dialoglinks" ).dialog( "isOpen" ) == true) {
				$( "#dialoglinks" ).dialog( "moveToTop" );
			}
			return false;
		});
		
		//Music
		$( "#dialogmusic" ).dialog({			
			autoOpen: false,
			dialogClass: 'dialogActivated',
			height: 300,
			width: 400,
			zIndex: 3999,
			show: "puff",
			hide: "puff"			
		});		
		$( "#openmusic" ).click(function() {
			$( "#dialogmusic" ).dialog( "open" );
			if ($( "#dialogmusic" ).dialog( "isOpen" ) == true) {
				$( "#dialogmusic" ).dialog( "moveToTop" );
			}
			return false;
		});		
		
		//Contact	
		$( "#dialogemail" ).dialog({
			autoOpen: false,
			dialogClass: 'dialogActivated',
			position: [550,100],
			height: 200,
			width: 420,
			resizable: false,
			show: "fold",
			hide: "explode"
		});
		
		$( "#openemail" ).click(function() {
			$( "#dialogemail" ).dialog( "open" );
			if ($( "#dialogemail" ).dialog( "isOpen" ) == true) {
				$( "#dialogemail" ).dialog( "moveToTop" );
			}
			return false;
		});		
		
		//Info
		$( "#dialoginfo" ).dialog({
			autoOpen: false,
			dialogClass: 'dialogActivated',
			height: 400,
			width: 500,
			show: "blind",
			hide: "drop"			
		});		
		$( "#openinfo" ).click(function() {
			$( "#dialoginfo" ).dialog( "open" );
			if ($( "#dialoginfo" ).dialog( "isOpen" ) == true) {
				$( "#dialoginfo" ).dialog( "moveToTop" );				 
			}			
			return false;
		});
		
		
		
		
		//Resume
		$( "#dialogresume" ).dialog({
			autoOpen: false,
			dialogClass: 'dialogActivated',
			position: [-9999,200],
			height: 480,
			width: 450,
			draggable: false,
			show: "drop",
			hide: "drop"
		});
				
		$( "#openresume" ).click(function() {
			
			$( "#dialogresume" ).dialog( "open" );
			if ($( "#dialogresume" ).dialog( "isOpen" ) == true) {
				$( "#dialogresume" ).dialog( "moveToTop" );				
			}						
			return false;	
		
		});
		
		$( ".ui-dialog" ).mouseover(function() {
				$( ".dialogLost" ).switchClass( "dialogLost", "dialogActivated", 1 );
			return false;
		});
		$( "body" ).mouseover(function() {
				$( ".dialogActivated" ).switchClass( "dialogActivated", "dialogLost", 1 );			
			return false;
		});
		
		
	});
		
	
	
	$(function() {
		
	});

	
	
	$(function() {
		
	});
	
	
	
	$(function() {
		
	});
	
	
	
	$(function() {
		
	});
	
	$(document).ready(function(){
		$('#jokens').click(function() {
			alert('after 10 years.');			
		return false;
		});		
		$('#pakilala').click(function() {
			alert('pakilala mo ako ha.. kung magkaintidihan kayo hahaha.');			
		return false;
		});	
			 $('.pop').popSlides();
		
	});

	
	
	
	
		
	
	
	